package org.jeecg.modules.param.charge.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.param.charge.entity.BikeMemberUserCharge;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.param.member.vo.MemberStatisticsReq;

import java.util.List;

/**
 * @Description: 充值记录
 * @Author: 月月鸟
 * @Date:   2021-05-27
 * @Version: V1.0
 */
public interface BikeMemberUserChargeMapper extends BaseMapper<BikeMemberUserCharge> {

    /**
     * 获取充值总金额
     */
    Integer getChargeSum(MemberStatisticsReq memberStatisticsReq);

    Page<BikeMemberUserCharge> pageList(Page<BikeMemberUserCharge> page,@Param("bikeMemberUserCharge") BikeMemberUserCharge bikeMemberUserCharge);

    List<BikeMemberUserCharge> list(BikeMemberUserCharge bikeMemberUserCharge);

}
